//
//  LoginMyAccount.h
//  Bespoke
//
//  Created by Cheng on 12/8/29.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AccountInfo.h"
#import "BK_Enviroment.h"
#import "TWSignedRequest.h"
#import "OAuth+Additions.h"
#import <FacebookSDK/FacebookSDK.h>

@protocol LoginMyAccountDelegate

- (void)SignInSuccess;
- (void)CreateAccountPressed_NonFirst;
- (void)ForgotPassWordPressed_NonFirst;

@end

@interface LoginMyAccount : UIView<UIAlertViewDelegate, UITextFieldDelegate> {
    
    IBOutlet UITextField *TF_email;
    IBOutlet UITextField *TF_password;
}
@property (nonatomic, strong) UITextField *TF_email;
@property (nonatomic, strong) UITextField *TF_password;
@property (nonatomic, strong) NSMutableArray *Array_AccountInfo;
@property (nonatomic, strong) BK_Enviroment *BK_En_object;
@property (nonatomic, strong) FBSession *pSession;
@property (nonatomic, weak) id <LoginMyAccountDelegate> delegate;

- (IBAction)SignInPressed:(id)sender;
- (IBAction)SignUpAccountPressed:(id)sender;
- (IBAction)SignInFacebookPressed:(id)sender;
- (IBAction)SignInTwitterPressed:(id)sender;

- (IBAction)ForgotPassword:(id)sender;

@end
